<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
赋值：<span th:text="${usrName}">userName</span><br/>
拼接：<span th:text="'Hello '+${usrName}+'!'">Hello userName!</span><br/>
拼接：<span th:text="|Hello ${usrName}!|">Hello userName!</span><br/>
</body>
</html>